package com.xuln.attach.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.xuln.framework.entity.BaseEntity;

@Entity
public class Attach extends BaseEntity {
	private static final long serialVersionUID = 1532088041774931952L;
	/** 文件名 */
	@Column(nullable = false)
	String fileName;
	/** 文件类型 */
	@Column(nullable = false)
	String fileType;
	/** 显示标题 */
	@Column
	String showTitle;
	/** 文件描述 */
	@Column
	String fileDesc;
	/** 文件存放路径 */
	@Column(nullable = false)
	String fileDir;
	/** 文件缩小版存放路径 */
	@Column
	String fileIndexDir;
	/** 显示顺序 */
	@Column
	Integer dspOrder;
	/** 文件大小 */
	@Column
	Long fileSize;
	/** 创建者 */
	@Column(nullable = false)
	String creator;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getShowTitle() {
		return showTitle;
	}

	public void setShowTitle(String showTitle) {
		this.showTitle = showTitle;
	}

	public String getFileDesc() {
		return fileDesc;
	}

	public void setFileDesc(String fileDesc) {
		this.fileDesc = fileDesc;
	}

	public String getFileDir() {
		return fileDir;
	}

	public void setFileDir(String fileDir) {
		this.fileDir = fileDir;
	}

	public Integer getDspOrder() {
		return dspOrder;
	}

	public void setDspOrder(Integer dspOrder) {
		this.dspOrder = dspOrder;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}
}
